﻿using System;

namespace SuiHan.Commons.Logging {
    public interface Logger {
        public void Trace(string content);
        public void Trace(string format, params object[] args);
        public void Trace(string content, Exception cause);
        public void Trace(Exception cause);

        public void Debug(string content);
        public void Debug(string format, params object[] args);
        public void Debug(string content, Exception cause);
        public void Debug(Exception cause);

        public void Info(string content);
        public void Info(string format, params object[] args);
        public void Info(string content, Exception cause);
        public void Info(Exception cause);


        public void Warn(string content);
        public void Warn(string format, params object[] args);
        public void Warn(string content, Exception cause);
        public void Warn(Exception cause);


        public void Error(string content);
        public void Error(string format, params object[] args);
        public void Error(string content, Exception cause);
        public void Error(Exception cause);
    }
}
